import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
const AccountKey = 'Account-Name'
export function getAccountName() {
  return Cookies.get(AccountKey)
}

export function setAccountName(name) {
  return Cookies.set(AccountKey, name)
}

export function removeAccountName() {
  return Cookies.remove(AccountKey)
}
const AccountID = 'Account-ID'
export function getAccountID() {
  return Cookies.get(AccountID)
}

export function setAccountID(id) {
  return Cookies.set(AccountID, id)
}

export function removeAccountID() {
  return Cookies.remove(AccountID)
}

